/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.teaching.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.teaching.entity.BayUser;
import com.thinkgem.jeesite.modules.teaching.dao.BayUserDao;

/**
 * 学员管理Service
 * @author 陈希贵
 * @version 2018-02-04
 */
@Service
@Transactional(readOnly = true)
public class BayUserService extends CrudService<BayUserDao, BayUser> {

	public BayUser get(String id) {
		return super.get(id);
	}
	
	public List<BayUser> findList(BayUser bayUser) {
		return super.findList(bayUser);
	}
	
	public Page<BayUser> findPage(Page<BayUser> page, BayUser bayUser) {
		return super.findPage(page, bayUser);
	}
	
	@Transactional(readOnly = false)
	public void save(BayUser bayUser) {
		super.save(bayUser);
	}
	
	@Transactional(readOnly = false)
	public void delete(BayUser bayUser) {
		super.delete(bayUser);
	}
	
}